package com.engineering.elink.domain;

import java.util.Date;


public class Course {
    private Integer courseId;

    /**
     * 一级分类
     */
    //@ApiParam(value="一级分类",required=true)
    private Integer tcId;

    
    /**
     * 二级分类
     */
    //@ApiParam(value="二级分类",required=true)
    private Integer scId;

    /**
     * 三级分类
     */
    //@ApiParam(value="三级分类",required=true)
    private Integer thirdId;

    /**
     * 课程名称
     */
    //@ApiParam(value="课程名称",required=true)
    private String title;

    private Integer size;

    private Date uploadTime;

    private Integer downloadCount;

    /**
     * 课程标签
     */
    //@ApiParam(value="课程标签，比如：1,2,3",required=true)
    private String labelIds;

    private Integer collectionCount;

    /**
     * 课程预览URL
     */
    //@ApiParam(value="课程预览URL",required=true)
    private String previewPath;

    private Integer commentCount;

    private Integer authStatus;

    private Integer deleteStatus;

    /**
     * 课程开始时间
     */
    //@ApiParam(value="课程开始时间",required=false)
    //@Temporal(TemporalType.TIMESTAMP)
    //@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    //@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date startTime;

    /**
     * 课程结束时间
     */
    //@ApiParam(value="课程结束时间",required=false)
    //@Temporal(TemporalType.TIMESTAMP)
    //@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
//    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date endTime;

    private String userId;

    private Date createTime;

    private Date updateTime;

    private Integer publishStatus;

    /**
     * 课程详情
     */
    //@ApiParam(value="课程详情",required=true)
    private String introduction;
    
    private String updateUserId;
    
    private Float price;
    
    private String createUserId;
    
    private Integer visitCount;
    
    private Integer grade;
    
    private Integer hierId;
    
    private Integer type;
    
    private Integer copyright;
    
    private Integer visibility;
    
    private Integer agreeFlag;
    
	private Integer videoFlag;

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getTcId() {
        return tcId;
    }

    public void setTcId(Integer tcId) {
        this.tcId = tcId;
    }

    public Integer getScId() {
        return scId;
    }

    public void setScId(Integer scId) {
        this.scId = scId;
    }

    public Integer getThirdId() {
        return thirdId;
    }

    public void setThirdId(Integer thirdId) {
        this.thirdId = thirdId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Integer getDownloadCount() {
        return downloadCount;
    }

    public void setDownloadCount(Integer downloadCount) {
        this.downloadCount = downloadCount;
    }

    public String getLabelIds() {
        return labelIds;
    }

    public void setLabelIds(String labelIds) {
        this.labelIds = labelIds == null ? null : labelIds.trim();
    }

    public Integer getCollectionCount() {
        return collectionCount;
    }

    public void setCollectionCount(Integer collectionCount) {
        this.collectionCount = collectionCount;
    }

    public String getPreviewPath() {
        return previewPath;
    }

    public void setPreviewPath(String previewPath) {
        this.previewPath = previewPath == null ? null : previewPath.trim();
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Integer getAuthStatus() {
        return authStatus;
    }

    public void setAuthStatus(Integer authStatus) {
        this.authStatus = authStatus;
    }

    public Integer getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Integer deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    //@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getPublishStatus() {
        return publishStatus;
    }

    public void setPublishStatus(Integer publishStatus) {
        this.publishStatus = publishStatus;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }

	public String getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(String updateUserId) {
		this.updateUserId = updateUserId;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public Integer getVisitCount() {
		return visitCount==null?0:visitCount;
	}

	public void setVisitCount(Integer visitCount) {
		this.visitCount = visitCount;
	}

	public Integer getGrade() {
		return grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public Integer getHierId() {
		return hierId;
	}

	public void setHierId(Integer hierId) {
		this.hierId = hierId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getCopyright() {
		return copyright;
	}

	public void setCopyright(Integer copyright) {
		this.copyright = copyright;
	}

	public Integer getVisibility() {
		return visibility;
	}

	public void setVisibility(Integer visibility) {
		this.visibility = visibility;
	}

	public Integer getAgreeFlag() {
		return agreeFlag;
	}

	public void setAgreeFlag(Integer agreeFlag) {
		this.agreeFlag = agreeFlag;
	}

	public Integer getVideoFlag() {
		return videoFlag;
	}

	public void setVideoFlag(Integer videoFlag) {
		this.videoFlag = videoFlag;
	}


}